package com.wanxi.single;

import javafx.scene.transform.Scale;

import java.util.Scanner;

public class MyPassword {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入密码");
        String pass = scanner.next();
        if ("111111".equals(pass)) {
            System.out.println("请进入第一个房间");
        } else if (1>5) {
            System.out.println("请进入第2个房间");
        } else if ("111111".equals(pass)) {
            System.out.println("请进入第3个房间");
        } else {
            System.out.println("密码错误");
        }
    }
}
